package com.itheima.domain;

import java.io.Serializable;

/**
 * 创建时间：2020-08-26-16:35 xiaotian(●'◡'●))
 * 类说明：
 * 类注解：
 */
public class OrderCheckItem implements Serializable {
    private int id;
    private String code;
    private String name;
    private char sex;
    private String age;
    private float price;
    private char type;
    private String attention;
    private String remark;

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("OrderCheckItem{");
        sb.append("id=").append(id);
        sb.append(", code='").append(code).append('\'');
        sb.append(", name='").append(name).append('\'');
        sb.append(", sex=").append(sex);
        sb.append(", age='").append(age).append('\'');
        sb.append(", price=").append(price);
        sb.append(", type=").append(type);
        sb.append(", attention='").append(attention).append('\'');
        sb.append(", remark='").append(remark).append('\'');
        sb.append('}');
        return sb.toString();
    }

    public int getId() {
        return id;
    }

    public OrderCheckItem setId(int id) {
        this.id = id;
        return this;
    }

    public String getCode() {
        return code;
    }

    public OrderCheckItem setCode(String code) {
        this.code = code;
        return this;
    }

    public String getName() {
        return name;
    }

    public OrderCheckItem setName(String name) {
        this.name = name;
        return this;
    }

    public char getSex() {
        return sex;
    }

    public OrderCheckItem setSex(char sex) {
        this.sex = sex;
        return this;
    }

    public String getAge() {
        return age;
    }

    public OrderCheckItem setAge(String age) {
        this.age = age;
        return this;
    }

    public float getPrice() {
        return price;
    }

    public OrderCheckItem setPrice(float price) {
        this.price = price;
        return this;
    }

    public char getType() {
        return type;
    }

    public OrderCheckItem setType(char type) {
        this.type = type;
        return this;
    }

    public String getAttention() {
        return attention;
    }

    public OrderCheckItem setAttention(String attention) {
        this.attention = attention;
        return this;
    }

    public String getRemark() {
        return remark;
    }

    public OrderCheckItem setRemark(String remark) {
        this.remark = remark;
        return this;
    }

    public OrderCheckItem(int id, String code, String name, char sex, String age, float price, char type, String attention, String remark) {
        this.id = id;
        this.code = code;
        this.name = name;
        this.sex = sex;
        this.age = age;
        this.price = price;
        this.type = type;
        this.attention = attention;
        this.remark = remark;
    }

    public OrderCheckItem() {
    }
}
